﻿
using SHZY.BaseData.Entitys.Dto.QmsBaseCheckcarddetail;

namespace SHZY.BaseData.Entitys.Dto.QmsBaseCheckcardsample;

/// <summary>
/// 检卡抽样方案输出参数.
/// </summary>
public class QmsBaseCheckcardsampleInfoOutput
{
    /// <summary>
    /// GUID.
    /// </summary>
    public string id { get; set; }

    /// <summary>
    /// 主表ID.
    /// </summary>
    public string checkGuid { get; set; }

    /// <summary>
    /// 抽检类型:字典项：国标AQL、固定抽样、固定比例、自定义AQL、执行时自行设置.
    /// </summary>
    public string samplingType { get; set; }

    /// <summary>
    /// 国标：检验水平.
    /// </summary>
    public string gLevel { get; set; }

    /// <summary>
    /// 国标：国际严格度.
    /// </summary>
    public string gStringency { get; set; }

    /// <summary>
    /// 国标：国际质量限.
    /// </summary>
    public string gQualityLimit { get; set; }

    /// <summary>
    /// 固定抽样数量.
    /// </summary>
    public int? fixedSamplingQty { get; set; }

    /// <summary>
    /// 固定比列.
    /// </summary>
    public decimal fixedRatio { get; set; }

    /// <summary>
    /// 自定义AQL.
    /// </summary>
    public string aql { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    public int? enabledMark { get; set; }

    /// <summary>
    /// 检卡抽样方案明细输出参数.
    /// </summary>
    public List<QmsBaseCheckcarddetailInfoOutput> children { get; set; }

}